home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / Poly1.cpp < prev    next >
C/C++ Source or Header  |  1999-01-14  |  762b  |  24 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "Poly1.h"
  6. //---------------------------------------------------------------------------
  7. #pragma resource "*.dfm"
  8.  
  9. TForm1 *Form1;
  10. //---------------------------------------------------------------------------
  11. __fastcall TForm1::TForm1(TComponent* Owner)
  12.     : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TForm1::FormCreate(TObject *Sender)
  17. {
  18.   Obutton1 = new TOButton (this);
  19.   Obutton1->Parent = this;
  20.   Obutton1->SetSize (Rect(120,60,ClientWidth-120,ClientHeight-60));
  21. }
  22. //---------------------------------------------------------------------------
  23.  
  24.